package com.sinosoft.brokerchannel.base.dao;

import com.sinosoft.brokerchannel.base.bins.InterfaceTemplate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 接口模板表DAO
 */
@Mapper
public interface InterfaceTemplateMapper {
    /**
     * 根据版本号和方法名查询接口对应模板
     *
     * @param version
     * @param method
     * @return
     */
    List<InterfaceTemplate> getTemplates(@Param("version") String version, @Param("method") String method);
}